{% include 'front/header.html' %}
<br/>
<div id="page">
    </div>
<!-- 条目中可以是任意内容，如：<img src=""> -->
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-body">
                        <img src='http://image2.sinajs.cn/newchart/min/n/sh000001.gif?'>
                        <img src='http://image2.sinajs.cn/newchart/daily/n/sh000001.gif?'>
                        <img src='http://image2.sinajs.cn/newchart/monthly/n/sh000001.gif?'>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header" style="background:#1e9fff6b;">指数分析</div>
                    <div class="layui-card-body">
                        <img src='http://image2.sinajs.cn/newchart/min/n/{{multicode["sinacode"]}}.gif?'>
                        <img src='http://image2.sinajs.cn/newchart/daily/n/{{multicode["sinacode"]}}.gif?'>
                        <img src='http://image2.sinajs.cn/newchart/monthly/n/{{multicode["sinacode"]}}.gif?'>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header" style="background:#23b78747;">股票代码:{{content["code"]}}</div>
                    <div class="layui-card-body">
                        公司名称：{{content["corp_name"]}}<br>
                        法人：{{content["preson"]}}<br>
                        地址：{{content["address"]}}<br>
                        经营范围：{{ content["business_range"] }}
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header" style="background:#23b78747;">市场情况：</div>
                    <div id="main" style="height: 300px;margin:10px;">
                        流通市值：{{content["baseinfo"]["flow_money"]/100000000}}亿<br>
                        行业：{{content["baseinfo"]["industry"]}}<br>
                        概念：{{content["baseinfo"]["gainian"]}}<br>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header" style="background:#23b78747;">公司简介：</div>
                    <div id="main" style="height: 300px">{{content["corp_summary"]}}</div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header" style="background:#23b78747;">股东情况</div>
                    <div id="kmain" style="width: 1399px;height:500px;">
                        <table style="width:100%;">
                            <thead>
                                <td style="padding:5px;">股东名称</td>
                                <td>持股比例</td>
                                <td>持股市值</td>
                            </thead>
                            <tbody>
                            {% for row in content["company_person"] %}
                                <tr>
                                    <td  style="padding:5px;">{{ row['gudong'] | safe }}</td>
                                    <td>{{ row['hand'] | safe }}</td>
                                <td>{{ row['money'] | safe }}亿元</td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header" style="background:#23b78747;">公司资讯</div>
                    <div class="layui-card-body">
                        <table style="width:100%;">
                            <tbody>
                            {% for row in content["news"] %}
                                <tr>
                                    <td  style="padding:5px;"><a href="{{ row["Art_Url"] }}" target="_blank">{{ row["Art_Title"] }}({{ row["Art_ShowTime"] }})</a></td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header" style="background:#23b78747;">公司公告</div>
                    <div class="layui-card-body">
                        <table style="width:100%;">
                            <tbody>
                            {% for row in content["notices"] %}
                                <tr>
                                    <td  style="padding:5px;"><a href="{{ row["Url"] }}" target="_blank">{{ row["NOTICETITLE"] }}({{ row["NOTICEDATE"] }})</a></td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-card">
                    <div class="layui-card-header" style="background:#23b78747;">研究报告</div>
                    <div class="layui-card-body">
                        <table style="width:100%;">
                            <tbody>
                            {% for row in content["reports"] %}
                                <tr>
                                    <td  style="padding:5px;">{{ row["title"] }}({{ row["publishDate"] }})</td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    layui.use('carousel', function(){
  var carousel = layui.carousel;
  //建造实例
  carousel.render({
    elem: '#test1'
    ,width: '100%' //设置容器宽度
    ,arrow: 'always' //始终显示箭头
    //,anim: 'updown' //切换动画方式
  });
});
</script>
</body>
</html>